package com.domcer.ultra.menu.engine.require;

import acl.playerpoints.PlayerPointsByPoints;
import org.bukkit.entity.Player;

/**
 * @author Sensen
 * @Date 2025/1/31 12:53
 */
public class PlayerPointsRequire implements Require {

    @Override
    public boolean execute(Player player, String content) {
        int requestPoints = Integer.parseInt(content);
        int points = PlayerPointsByPoints.get(player);
        return points > requestPoints;
    }
}
